<%--
  Created by IntelliJ IDEA.
  User: tanze
  Date: 2021/8/7
  Time: 11:06
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<html>
<head>
    <title>登录成功</title>

    Welcome: <shiro:principal></shiro:principal>
    
    <shiro:hasRole name="admin">
        <br><br>
        <a href="admin.jsp">Admin Page</a>
    </shiro:hasRole>

   <shiro:hasRole name="user">
       <br><br>
       <a href="user.jsp">User Page</a>
   </shiro:hasRole>

    <br><br>
    <a href="/shiro/testShiroAnnotation">Test ShiroAnnotation</a>


    <br><br>
    <a href="shiro/logout">注销登录</a>
</head>
<body>

</body>
</html>
